package cloud.zhixinglu.www.spring.boot.mapstruct.enums;

/**
 * <p>
 * GenderEnum
 * </p>
 *
 * @author weixin
 * @date 2023/3/31 11:13
 */
public enum GenderEnum {

    /**
     * 性别
     */
    MALE("1", "男"),
    FEMALE("0", "女");

    private final String code;
    private final String name;

    public String getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }

    GenderEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

}
